//
//  FirstModel.m
//  UI22_Work
//
//  Created by dllo on 16/8/14.
//  Copyright © 2016年 yh. All rights reserved.
//

#import "FirstModel.h"
#import "DataModel.h"

@implementation FirstModel

- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"data"]) {
        DataModel *da = [DataModel modelWithDic:value];
        _data =da;
    }
}

@end
